xor ax, ax ; eax = 0
; 初始化段寄存器, 段地址全部设为0
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax

; 初始化栈指针
mov sp, 0x7c00
mov ax, 0xb800
mov gs, ax


mov ah,2
mov bh,0
mov dh,8
mov dl,8
int 10h

mov ah,0EH
mov al,"2"
mov bl,7
int 10h

mov ah,0EH
mov al,"2"
mov bl,7
int 10h

mov ah,0EH
mov al,"3"
mov bl,7
int 10h

mov ah,0EH
mov al,"0"
mov bl,7
int 10h

mov ah,0EH
mov al,"2"
mov bl,7
int 10h

mov ah,0EH
mov al,"1"
mov bl,7
int 10h

mov ah,0EH
mov al,"4"
mov bl,7
int 10h

mov ah,0EH
mov al,"3"
mov bl,7
int 10h

jmp $ ; 死循环

times 510 - ($ - $$) db 0
db 0x55, 0xaa